package com.matrix.merchant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.matrix.common.enums.ShopStatusEnum;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 有点甜
 * @since 2025/7/26
 */
@Data
@TableName("t_shop")
public class Shop implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long ownerId;
    private String shopName;
    private String logoUrl;
    private String description;
    private String contactPhone;
    private String addressDetail;
    private BigDecimal rating;
    private BigDecimal avgConsumption;
    private BigDecimal tasteRating;
    private BigDecimal packagingRating;
    private BigDecimal locationLatitude;
    private BigDecimal locationLongitude;
    private Integer monthlySales;
    private String businessHours;
    private ShopStatusEnum status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
